﻿namespace API
{
    public class Result
    {
        public Result()
        {
            this.BackTime = DateTime.Now;
        }
        /// <summary>
        /// 返回的数据
        /// </summary>
        public object? Data { get; set; }
        /// <summary>
        /// 返回状态码
        /// 200 通顺
        /// 404资源找不到
        /// 500 程序错误
        /// </summary>
        public int Code { get; set; }
        /// <summary>
        /// 返回时间
        /// </summary>
        public DateTime  BackTime{ get; set; }

        public string? Author { get; set; }

    }
}
